﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using iLangl.Model;
using iLangl.LanguageWire.Managers;

	
namespace iLangl.LanguageWire.Actions
{
	public class GetLanguages : BaseLWAction
	{
		public GetLanguages()
			: base()
		{
			RequestContext = new LanguagesRequestContext();
			
		}

		protected override void _execute()
		{
			RequestContext.SetContext(SettingsManager.Instance.GetLanguages());

			base._execute();
		}

		protected override string GetName()
		{
			return "GetLanguages";
		}

	}
}
